home *** CD-ROM | disk | FTP | other *** search
- ' RUNDOS.BAS
- ' This program executes a DOS command.
-
- CLS
-
- COLOR 3 ' set color to cyan
- ' get DOS command line from user
- INPUT "Enter a DOS command line [press Enter to run DOS]: ", dosCom$
- PRINT
-
- SHELL dosCom$ ' exit to DOS and execute the command
-
- PRINT
- PRINT "DOS command complete"
-
- COLOR 7 ' set color to default white
-
-
-